<?php
session_start();

if (isset($_SESSION['ID'])) {
    $ID_LOGADO = $_SESSION['ID'];
    $PERMISSAO = $_SESSION['PERMISSAO'];
} else {
    echo "<script type='text/javascript'>";
    echo "window.location = 'index.php';";
    echo "</script>";
}
?>
<!DOCTYPE html>
<html>
    <head>
        <link href="Styles/CSS.css" rel="stylesheet" type="text/css"/>
        <meta charset="UTF-8">
        <title>AGE - Início</title>
    </head>
    <body style="background-color: #9cea70"  onload="startTime()">
        <?php include("./cabecalho.html") ?>
        <div id="txt" style=""></div>
        <table id="SITE">
            <tr>
                <td id="MENU" valign="top">
                    <?php include("./menuLateral.php") ?>
                </td>
                <td id="CONTEUDO">
                    <?php
                    include './api.html';
                    ?>
                </td>
            </tr>
        </table>
    </body>
</html>